package com.capgemini.teamtwo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("SYS_USER")
public class User {
    // 主键
    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("realname")
    private String realname;
    @TableField("project_id")
    private Integer projectId;
    @TableField("status")
    private String status;

    @TableField("rank")
    private String rank;
    // 创建时间
    @TableField("create_time")
    private String createAt;
    // 更新时间
    @TableField("update_time")
    private String updateAt;
}
